class MyEntity {

	/**
	 *
	 * {
			"Success": 1,
			"ErrorCode": 0,
			"ErrorMsg": "",
			"CallInfo": {
			"portrait": "http:\/\/aweb.oss-cn-hangzhou.aliyuncs.com\/files\/20180629162717599.png",
			"name": "18221256342",
			"telephone": "18221256342",
			"is_vip": "0"
			}
			}
	 *
	 *
	 */



	MyCallinfo callInfo;
	String errorMsg;
	int errorCode;
	int success;

	MyEntity({this.callInfo, this.errorMsg, this.errorCode, this.success});

	MyEntity.fromJson(Map<String, dynamic> json) {
		callInfo = json['CallInfo'] != null ? new MyCallinfo.fromJson(json['CallInfo']) : null;
		errorMsg = json['ErrorMsg'];
		errorCode = json['ErrorCode'];
		success = json['Success'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.callInfo != null) {
      data['CallInfo'] = this.callInfo.toJson();
    }
		data['ErrorMsg'] = this.errorMsg;
		data['ErrorCode'] = this.errorCode;
		data['Success'] = this.success;
		return data;
	}
}

class MyCallinfo {
	String isVip;
	String name;
	String telephone;
	String portrait;

	MyCallinfo({this.isVip, this.name, this.telephone, this.portrait});

	MyCallinfo.fromJson(Map<String, dynamic> json) {
		isVip = json['is_vip'];
		name = json['name'];
		telephone = json['telephone'];
		portrait = json['portrait'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['is_vip'] = this.isVip;
		data['name'] = this.name;
		data['telephone'] = this.telephone;
		data['portrait'] = this.portrait;
		return data;
	}
}
